From: Jonas Dreßler Date: Tue, 16 Feb 2021 13:17:55 +0000 (+0100) Subject: appDisplay: Use icon-size instead of width/height for system actions X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~616^2^2~325 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=e65e5ede;p=gnome-shell.git appDisplay: Use icon-size instead of width/height for system actions When creating an icon for the system actions search provider, set the icon size using StIcons own icon-size property instead of ClutterActors width and height property. That ensures the scale factor is applied and the icon will be properly scaled on hiDPI screens. Part-of: --- diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js index 72e0e5379..dee7df300 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -1432,8 +1432,7 @@ var AppSearchProvider = class AppSearchProvider { const createIcon = size => new St.Icon({ icon_name: iconName, - width: size, - height: size, + icon_size: size, style_class: 'system-action-icon', });